<?php
defined('PROJECT_PATH') || define('PROJECT_PATH', realpath(dirname(__FILE__)));
require_once(PROJECT_PATH.'/index.php');
$info = new UAParser;

$ua = $_SERVER['HTTP_USER_AGENT'];
$result = $info->parse($ua);

echo "<pre>";
die(print_r($result));